class Animal:
    name = 'animal'
    def shout(self):
        print('animal shout')

animal = Animal()
print(animal.name)
animal.shout()

class Dog:
    name = 'dog'
    def eat(self):
        self.age=20
        print('dog eat')

dog = Dog()
print(dog.name)
dog.eat()
dog1 = Dog()
dog1.name = 'dog111111'
print(dog1.name)
print(dog.name)
print(dog1.eat())
